﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ViewDataDictionary>" %>
 
 <% 
     
     string MCssC01 = "";
     string MCssC00 = "";
     string MCssC02 = "";
     
     string CssC01 = "";
     string CssC02 = "";
     string CssC03 = "";
     string CssC04 = "";
     string CssC05 = "";
     string CssC06 = "";
     string CssC07 = "";
     string CssC08 = "";
     string CssC09 = "";
     string CssC10 = "";
     string CssC11 = "";
     string CssC12 = "";
     string CssC13 = "";
     string CssC14 = "";
     string CssC15 = "";
     string CssC16 = "";
     
     if (ViewData["MenuCode"].ToString() == "C01") CssC01 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C02") CssC02 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C03") CssC03 = "activelink";

     if (ViewData["MenuCode"].ToString() == "C04") CssC04 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C05") CssC05 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C06") CssC06 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C07") CssC07 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C08") CssC08 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C09") CssC09 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C10") CssC10 = "activelink";

     if (ViewData["MenuCode"].ToString() == "C11") CssC10 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C12") CssC12 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C13") CssC13 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C14") CssC14 = "activelink";
     if (ViewData["MenuCode"].ToString() == "C15") CssC15 = "activelink";


     if (ViewData["MenuMainCode"].ToString() == "C00") MCssC00 = "active";
     if (ViewData["MenuMainCode"].ToString() == "C01") MCssC01 = "active";
     
         
 %>
 
     <ul class="tabs primary">
         <li class="<% =MCssC00 %>"><%: Html.ActionLink("Gestionar Pre-Viaje", "PreViaje", "Home")%></li>
         <li class="<% =MCssC01 %>"><%: Html.ActionLink("Gestionar de Viajes", "MenuViaje", "Home")%></li>
         <li class="<% =MCssC02 %>"><%: Html.ActionLink("GPS", "C00_GPS", "Home")%></li>
         <li><a href="/Home/Ayuda" class="">Ayuda</a></li>
    </ul>
 
 <%if (ViewData["MenuMainCode"].ToString() == "C00") { %>
    <ul class="tabs secondary">
        
        <li class="<% =CssC06 %>"><%: Html.ActionLink("Reporte de Excepciones por Tipo", "PreViaje", "Home")%></li>
        <li class="<% =CssC12 %>"><%: Html.ActionLink("Reporte de Encomiendas con Observaciones por tipo", "C12_ReporteEncomiendaObs", "Home")%></li>
        <li class="<% =CssC03 %>"><%: Html.ActionLink("Reporte de tiempos de validación de viajes", "C03_ReporteTiempoValidacion", "Home")%></li>

    </ul>

    <ul class="tabs secondary">
    
        <li class="<% =CssC01 %>"><%: Html.ActionLink("Mantener Checklist", "C01_MantenerChecklist", "Home")%></li>
        <li class="<% =CssC02 %>"><%: Html.ActionLink("Confirmar validación de viaje", "C02_ConfirmarViaje", "Home")%></li>
               
        <li class="<% =CssC04 %>"><%: Html.ActionLink("Mantener Checklist - Calidad", "C04_MantenerChecklistCalidad", "Home")%></li>
        <li class="<% =CssC05 %>"><%: Html.ActionLink("Mantener Excepciones de Viaje", "C05_MantenerExcepciones", "Home")%></li>
        
        <li><%: Html.ActionLink("Cerrar", "Index", "Home")%></li>
    </ul>
    <%} %>


    <%if (ViewData["MenuMainCode"].ToString() == "C01") { %>
    <ul class="tabs secondary">
    
        <li class="<% =CssC13 %>"><%: Html.ActionLink("Gestión de incidencias", "C13_MantenerRegistroIncidentes", "Home")%></li>
        <li class="<% =CssC14 %>"><%: Html.ActionLink("Mantener registro I/O de la unidades", "C14_MantenerIOUnidades", "Home")%></li>
        <li class="<% =CssC15 %>"><%: Html.ActionLink("Mantener relación de transbordo ", "C15_MantenerRelacionTransbordo", "Home")%></li>
        
        <li><%: Html.ActionLink("Cerrar", "Index", "Home")%></li>
    </ul>
    <%} %>